<?php

namespace pmvc\log;

use DateTime;

interface Formatter {

	/**
	 * Formats the given message.
	 * @param int $level
	 * @param DateTime $time
	 * @param string $name
	 * @param string $message
	 * @return string the formatted message
	 */
	function format($level, DateTime $time, $name, $message);

}

?>